package com.nclg.exam.service;

import com.github.pagehelper.PageInfo;
import com.nclg.exam.dto.*;

import java.util.List;

public interface PaperService {

    List<CreaterDto> selectCreaters();

    PageInfo<PaperListDto> selectByPage(PaperDto dto);

    Boolean updatePaperStatus(String pstatus, Long pId);

    UpdatePaperDto selectById(Long pId);

    Boolean updatePaper(UpdatePaperDto dto);

    int selectQuestionCount(String type);

    boolean insertPaper(InsertPaperDto dto);

    boolean selectIsExamingById(Long pId);
}
